package com.passion.enums;

import lombok.Data;
import lombok.Getter;

/**
 * @program offline-e-commerce-data-warehouse
 * @Description
 * @Author limeihua
 * @Date 2024/09/28 20:03
 * @Version 1.0
 */
@Getter
public enum CalculateStatus {

    LOAD_HISTORY_CALCULATION_RESULTS(0, "此计算任务每次接受请求可以走缓存"),
    DIRECT_CALCULATION_GET_RESULTS(1, "此计算任务每次接受请求不可以走缓存");
    private final Integer status;
    private final String description;

    CalculateStatus(Integer status, String description) {
        this.status = status;
        this.description = description;
    }
}
